Skip to content

fix: Only look for blueprints on generate from our blueprint directory. #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2016

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Mar 17, 2016

Fixes #266

name: 'generate',

lookupBlueprint: function(name) {
return Blueprint.lookup(name, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing import of Blueprint, I believe.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@hansl hansl force-pushed the issue266-generate-model branch 2 times, most recently from 32bad75 to be77c9c Compare March 17, 2016 23:07
@filipesilva
Copy link
Contributor

This PR will block all blueprints that are not in this repo, which does block unsupported blueprints from ember-cli but will also block blueprints from angular-cli addons.

@hansl
Copy link
Contributor Author

hansl commented Mar 17, 2016

It's okay for now, when we release we'll have to revisit blueprints.

@hansl hansl force-pushed the issue266-generate-model branch from be77c9c to d20951e Compare March 17, 2016 23:54
@hansl hansl force-pushed the issue266-generate-model branch from d20951e to d3649d5 Compare March 17, 2016 23:54
@hansl hansl merged commit d3649d5 into angular:master Mar 18, 2016
@hansl hansl deleted the issue266-generate-model branch March 31, 2016 18:10
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ng generate model create the file in incorrect path.
2 participants